LassoScript Utility
Basics Browse Detail

[String->IsTitle]

Tag Link [String->IsTitle] Category String
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type Boolean Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

[String->IsTitle] checks whether a specified character within the string is in title case. The tag returns True if the character is in title case or False otherwise.

Syntax

[If: 'String'->(IsTitle: 3)] ... [/If]

Parameters

Required Parameters
Position The character within the string to inspect.

Examples

To check whether a character is in title case:

Use the [String->IsTitle] tag. The following example returns True since the fourth character of the string is capatilized as it should be to be in title case.

[Output: '26 Letters'->(IsTitle: 4)]

True

Related Tags

Category Tags